package ljl.alg.jianzhioffer.round3.easy;

import commons.TreeNode;

public class _27_mirrorTree {

    public TreeNode mirrorTree(TreeNode root) {
        if (root == null)
            return null;
        TreeNode l = mirrorTree(root.left);
        root.left = mirrorTree(root.right);
        root.right = l;
        return root;
    }
}
